package mylab.usm.api.model.authorization;


import mylab.base.model.LongIdName;
import mylab.usm.api.enums.DataScopeType;

import java.util.List;

/**
 * 数据权限
 */
public interface DataPermission extends LongIdName {

    Role getRole();

    Resource getResource();

    String getTableName();

    List<String> getIncludeColumns();

    List<String> getExcludeColumns();

    DataScopeType getDataScopeType();

    String getCustomExpression();
}
